﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;

namespace QPDefine
{
    public class OS
    {
        public static UnityEngine.RuntimePlatform Platform()
        {
#if UNITY_ANDROID
            return RuntimePlatform.Android;
#elif UNITY_IOS
            return RuntimePlatform.IPhonePlayer;
#elif UNITY_IPHONE
            return RuntimePlatform.IPhonePlayer;
#elif UNITY_STANDALONE
            return RuntimePlatform.WindowsPlayer;
#endif
        }
    }
}
